package org.oslims.client.presenter;

import org.oslims.client.MainEventBus;
import org.oslims.client.view.impl.ErrorViewImpl;

import com.mvp4g.client.annotation.Presenter;
import com.mvp4g.client.presenter.BasePresenter;

@Presenter(view = ErrorViewImpl.class)
public class ErrorPresenter extends BasePresenter<ErrorViewImpl, MainEventBus> {

	public void onError(String message) {
		view.showError(message);
	}

}
